import request from '../utils/request';

/**
 * 获取首页轮播图数据
 */
export const getBannerListApi = () => {
  return request('/mall-api/index/findBanner');
}

/**
 * 获取导航分类列表
 */
export const getNavListApi = () => {
  return request('/mall-api/index/findCategory1');
}

/**
 * 获取猜你喜欢数据
 */
export const getLikeGoodsListApi = () => {
  return request('/mall-api/index/findListGoods');
}

/**
 * 获取人气推荐数据
 */
export const getRecommendGoodsListApi = () => {
  return request('/mall-api/index/findRecommendGoods');
}
